package com.tjtt.tdm.visual.dao;

import java.util.List;
import java.util.Map;

import org.hibernate.LockMode;
import org.hibernate.Query;
import org.springframework.context.ApplicationContext;

import com.tjtt.tdm.base.PageResult;
import com.tjtt.tdm.visual.bean.VisualInfo;

public interface VisualDao  {
	public PageResult GetVisualList(Map<String, String> filterMap);
	
	public String save(VisualInfo transientInstance);
	
	public String saveobject(Object transientInstance);

	public void delete(VisualInfo persistentInstance) ;

	public VisualInfo findById(java.lang.Long id);

	public List findByExample(VisualInfo instance) ;

	public List findByProperty(String propertyName, Object value);
	
	public List findAllByWhere(String where);

	public List findAll();
	
	public List findAllBySql(String sql,int start,int rows);
	
	public List findAllBySql(String sql);
	
	public void executeBySql(String sql);

	public VisualInfo merge(VisualInfo detachedInstance);

	public void attachDirty(VisualInfo instance) ;

	public void attachClean(VisualInfo instance) ;
	
	public Long getMaxId();
	
	public void delVisualInfoById(String id);
	
	public void update(VisualInfo instance);
	
	public String getEquipmentPath(String id,String fileName);
	
    public String showEuipmentpersonPic(String id);
	
	public String getEuipmentData(String id);
	
	public String getEuipmentTask(String id);
	
	public List getFloor1();
	
	public List getFloor2();
	
	public List getFloor3();
	
}
